package com.atguigu.lease.common.exception;

import org.springframework.util.Assert;

public class MyAssert  extends Assert {
    public static void isTrue(boolean expression, String message) {
        if(!expression){
            throw new MyException(message);
        }
    }

}
